﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Renci.SshNet.Sftp;
using System.Collections.ObjectModel;
using System.ComponentModel;

namespace FastShell.Common.Model
{
    public class TransferFileModel : INotifyPropertyChanged
    {
        public string Id { get; set; }
        public string Name { get; set; }

        public string FullName { get; set; }

        public string Icon { get; set; }
        private double _progress;
        public double Progress { 
            get { return _progress; } 
            set { _progress = value; PropertyChanged(this, new PropertyChangedEventArgs("Progress")); } }
        private string _status;
        public string Status {
            get { return _status; }
            set { _status = value; PropertyChanged(this, new PropertyChangedEventArgs("Status")); } }

        public string Type { get; set; }

        public event PropertyChangedEventHandler PropertyChanged = delegate { };

    }
}
